package com.my12306.train.model.vo;

import com.my12306.train.model.entity.MileageEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author:苏牧夕
 * @Date:2020/8/1 17:42
 * @Version 1.0
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class MileageRouteVo implements Serializable {
    private static final long serialVersionUID = 1L;
    private String routeName;
    @NotNull
    private Long routeId;
    @NotNull
    private List<MileageEntity>mileageList;
}
